package com.advert.boot.system.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 报价单 -返回体
 */
@Data
@Schema
public class QuotationOrderVO implements Serializable {
    @Schema(description = "主键ID")
    private Integer id;

    @Schema(description = "企业/驾驶员")
    private String company;

    @Schema(description = "报价单号")
    private String orderNo;

    @Schema(description = "承修单号")
    private String repairOrderNo;

    @Schema(description = "型号")
    private String model;

    @Schema(description = "维修地址")
    private String repairAddress;

    @Schema(description = "状态（默认0=报价，1=出单，2=二维码，3保单）")
    private Integer orderState;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    //维修详情信息
    @Schema(description = "维修详情信息")
    private List<QuotationRepairDetailVO> repairDetailList;
}
